using System.Collections.Generic;

namespace IppServer.Host.Ipp
{
    internal sealed class IppRequest
    {
        public ushort Version { get; set; }

        public IppOperation Operation { get; set; }

        public int RequestId { get; set; }

        public IList<IppAttribute> Attributes { get; } = new List<IppAttribute>();

        public byte[] DocumentData { get; set; } = new byte[0];
    }

    internal sealed class IppAttribute
    {
        public byte Tag { get; set; }
        public string Name { get; set; }
        public byte[] RawValue { get; set; }
    }
}

